package com.datacompute.service;

import java.util.List;

import com.datacompute.entities.User;

public interface UserService {
	
	public boolean login(User user);
	
	public boolean logout();
	
	public boolean checkUserLogin();
	
	public boolean checkAdminLogin();
	
	public List<Object> getAllUser();

	public List<Object> findUserByName(User user);

	public User findUserById(User user);

	public boolean deleteUser(User user);

	public boolean addUser(User user);

	public boolean updateUser(User user);
}
